<?php
	class BaiViet extends AppModel {
		public $useTable = 'baiviets';
		
		public $validate = array(
			'title' => array(
				'rule' => 'notEmpty'
			),
			'body' => array(
				'rule' => 'notEmpty'
			)
		);
		
		public function getData(){
				
			
			return $lst;
		}
	}
?>